# coding=utf-8
import time
import uuid
def timestamp():
    t = time.time()
    return int(round(t * 1000))


def time_string(fmt='%Y-%m-%d %H:%M:%S'):
    return time.strftime(fmt)

def get_today_time():
    starttime = time_string('%Y-%m-%d 00:00:00')
    endtime = time_string('%Y-%m-%d 23:59:59')
    return starttime,endtime
def UUID():
    return str(uuid.uuid4())
